﻿using System;
using System.Collections;
using System.Collections.Generic;
using QFramework.Fullstack;
using QFramework.Fullstack.Example;
using UnityEngine;

namespace FangKuaiXiaoXiaoLe
{
	public static class GameConfig
	{
		[RuntimeInitializeOnLoadMethod]
		public static void ConfigService()
		{
			Debug.Log("@@@@ OnLoad @@@@");
			
			Framework.ReplaceApplicationLayer(new ZenjectFrameworkLayer());
			Framework.ReplaceLogicLayer(new ZenjectFrameworkLayer());

			Framework.ApplicationLayer.Register<IGameRule, GameRule>();
			Framework.ApplicationLayer.Register<IInputSystem, InputSystem>();
		}
		
		
	}
}